package org.jeecg.modules.demo.oms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 购物车表
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("oms_cart_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oms_cart_item对象", description="购物车表")
public class OmsCartItem {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**productId*/
	@Excel(name = "productId", width = 15)
    @ApiModelProperty(value = "productId")
	private java.lang.Integer productId;
	/**productSkuId*/
	@Excel(name = "productSkuId", width = 15)
    @ApiModelProperty(value = "productSkuId")
	private java.lang.Integer productSkuId;
	/**memberId*/
	@Excel(name = "memberId", width = 15)
    @ApiModelProperty(value = "memberId")
	private java.lang.Integer memberId;
	/**购买数量*/
	@Excel(name = "购买数量", width = 15)
    @ApiModelProperty(value = "购买数量")
	private java.lang.Integer quantity;
	/**添加到购物车的价格*/
	@Excel(name = "添加到购物车的价格", width = 15)
    @ApiModelProperty(value = "添加到购物车的价格")
	private java.math.BigDecimal price;
	/**销售属性1*/
	@Excel(name = "销售属性1", width = 15)
    @ApiModelProperty(value = "销售属性1")
	private java.lang.String sp1;
	/**销售属性2*/
	@Excel(name = "销售属性2", width = 15)
    @ApiModelProperty(value = "销售属性2")
	private java.lang.String sp2;
	/**销售属性3*/
	@Excel(name = "销售属性3", width = 15)
    @ApiModelProperty(value = "销售属性3")
	private java.lang.String sp3;
	/**商品主图*/
	@Excel(name = "商品主图", width = 15)
    @ApiModelProperty(value = "商品主图")
	private java.lang.String productPic;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
	private java.lang.String productName;
	/**商品副标题（卖点）*/
	@Excel(name = "商品副标题（卖点）", width = 15)
    @ApiModelProperty(value = "商品副标题（卖点）")
	private java.lang.String productSubTitle;
	/**商品sku条码*/
	@Excel(name = "商品sku条码", width = 15)
    @ApiModelProperty(value = "商品sku条码")
	private java.lang.String productSkuCode;
	/**会员昵称*/
	@Excel(name = "会员昵称", width = 15)
    @ApiModelProperty(value = "会员昵称")
	private java.lang.String memberNickname;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createDate;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date modifyDate;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
	private java.lang.Integer deleteStatus;
	/**商品分类*/
	@Excel(name = "商品分类", width = 15)
    @ApiModelProperty(value = "商品分类")
	private java.lang.Integer productCategoryId;
	/**productBrand*/
	@Excel(name = "productBrand", width = 15)
    @ApiModelProperty(value = "productBrand")
	private java.lang.String productBrand;
	/**productSn*/
	@Excel(name = "productSn", width = 15)
    @ApiModelProperty(value = "productSn")
	private java.lang.String productSn;
	/**商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]*/
	@Excel(name = "商品销售属性", width = 15)
    @ApiModelProperty(value = "商品销售属性")
	private java.lang.String productAttr;
	/**所属店铺*/
	@Excel(name = "所属店铺", width = 15)
    @ApiModelProperty(value = "所属店铺")
	private java.lang.Integer storeId;
	/**1x选中 2 枚选中*/
	@Excel(name = "1x选中 2 枚选中", width = 15)
    @ApiModelProperty(value = "1x选中 2 枚选中")
	private java.lang.Integer checked;
	/**storeName*/
	@Excel(name = "storeName", width = 15)
    @ApiModelProperty(value = "storeName")
	private java.lang.String storeName;
	/**isFenxiao*/
	@Excel(name = "isFenxiao", width = 15)
    @ApiModelProperty(value = "isFenxiao")
	private java.lang.Integer isFenxiao;
}
